﻿using System;

namespace Mt.Site.Core.Synchronization
{
    public class NoticeArgs
    {
        public int ToTenantId { get; set; }
        public string ToLanguage { get; set; }

        /// <summary>
        /// 用于通过栏目id，查找子站中维护本栏目的所有管理员
        /// </summary>
        public long MenuId { get; set; }

        /// <summary>
        /// 母站中的标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 母站中的数据ID
        /// </summary>
        public Guid FromId { get; set; }

        /// <summary>
        /// 母站中的操作
        /// </summary>
        public OptionType Type { get; set; }

        /// <summary>
        /// 同步到子站中的数据ID
        /// </summary>
        public Guid? ToId { get; set; }
    }
}
